package icu.thatyear.main.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 物流公司
 * </p>
 *
 * @author Cjy
 * @since 2024-12-06
 */
@Getter
@Setter
@TableName("tz_delivery")
@Schema(name = "TzDelivery", description = "物流公司")
public class TzDelivery implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "dvy_id", type = IdType.AUTO)
    private Long dvyId;

    @Schema(description = "物流公司名称")
    @TableField("dvy_name")
    private String dvyName;

    @Schema(description = "公司主页")
    @TableField("company_home_url")
    private String companyHomeUrl;

    @Schema(description = "建立时间")
    @TableField("rec_time")
    private LocalDateTime recTime;

    @Schema(description = "修改时间")
    @TableField("modify_time")
    private LocalDateTime modifyTime;

    @Schema(description = "物流查询接口")
    @TableField("query_url")
    private String queryUrl;
}
